home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / motif-faq.part1 < prev    next >
Encoding:
Internet Message Format  |  1994-04-16  |  42.7 KB

  1. Subject: Motif FAQ (Part 1 of 5)
  2. Newsgroups: comp.windows.x.motif,news.answers,comp.answers
  3. From: dealy@kong.gsfc.nasa.gov (Brian Dealy)
  4. Date: 14 Apr 1994 15:20:33 -0400
  5.  
  6. Archive-name: motif-faq/part1
  7. Last-modified: APR 04, 1994
  8. Version: 3.6
  9.  
  10.  
  11. Motif FAQ
  12.  
  13. [Last changed: 04 APR 94]
  14.  
  15. This article contains the answers to some Frequently Asked Questions (FAQ) 
  16. often seen in comp.windows.x.motif. It is posted to help reduce volume in 
  17. this newsgroup and to provide hard-to-find information of general interest.
  18.  
  19.         Please redistribute this article!
  20.  
  21. This FAQ is maintained by Brian Dealy <dealy@kong.gsfc.nasa.gov>.  Send
  22. updates and corrections to me at that mail address.  It would help if
  23. the subject line contained the phrase "FAQ".  I will Be making a
  24. HTML version available in the very near (MAY)? future. It will hopefully 
  25. provide a much fuller set of resources including URLs for examples and 
  26. free software. It will require a bit of reorganizing and rewriting, but 
  27. it should be well worth the wait.
  28.  
  29. History:
  30. From November 89-July 93 the FAQ was maintained by Jan Newmarch
  31. <jan@ise.canberra.edu.au>
  32.  
  33. This article includes answers to the following questions. Ones marked with
  34. a + indicate questions new to this issue; those with changes of content since
  35. the last issue are marked by *:
  36.  
  37.  
  38.  0)* TOPIC: WHAT ARE OTHER RELEVANT NEWSGROUPS?
  39.  1)  TOPIC: FTP ARCHIVES
  40.  2)  Is the FAQ list available for FTP anywhere?
  41.  3)* Is this FAQ accessible via WWW?
  42.  4)  Is this newsgroup accessible via email?
  43.  5)  Is this newsgroup archived?
  44.  6)  Is the mail list motif-talk archived?
  45.  7)  TOPIC: OSF AND MOTIF
  46.  8)  Because of COSE, is Motif now in the public domain?
  47.  9)* What versions of Motif are there?
  48. 10)* Where can I get Motif?
  49. 11)  Is there a list of Motif bugs?
  50. 12)  Where can I get public domain Motif source?
  51. 13)* Are the Motif examples publically available?
  52. 14)* Has anyone done a public domain Motif lookalike?
  53. 15)  Does anyone from OSF pay attention to our questions/suggestions?
  54. 16)  Does OSF have an application compliance validation service?
  55. 17)  What is the motif-talk mailing list?
  56. 18)  What MIT patches do I use, and when do I use fix-osf?
  57. 19)  How does Motif work with X11R5?
  58. 20)* How can I find which version of Motif I have?
  59. 21)  TOPIC: LITERATURE
  60. 22)* What books should I read or do I need to program using Motif?
  61. 23)  TOPIC: MWM
  62. 24)  What is the difference between Motif and mwm?
  63. 25)  Does anyone have an alternative set of  3-D  defaults  for  a  monochrome
  64. screen?
  65. 26)  How can I modify the Motif window manager decorations?
  66. 27)  How can I turn off the Motif window manager  functions  from  the  system
  67. menu?
  68. 28)  How can tell I if the user has selected the "Close" item  on  the  system
  69. menu attached to the top-level shell?
  70. 29)  Is there an mwm virtual desktop manager?
  71. 30)  Why does mwm 1.2 crash on startup?
  72. 31)  TOPIC: MOTIF GENERATORS
  73. 32)  What prototyping tools are there to generate Motif code?
  74. 33)  TOPIC: TEXT WIDGET
  75. 34)  What is the difference between a XmTextField widget and a single
  76. 35)  Why does  pressing  <return> in a text widget do nothing?
  77. 36)  When I add text to a scrolling text widget how can I get the new text  to
  78. show?
  79. 37)  Does the text widget support 16 bit character fonts?
  80. 38)  How can I stop the text widget from echoing characters typed?
  81. 39)  How can I replace characters typed with say a `*'?
  82. 40)  How can I best add a large piece of text to a scrolled text widget?
  83. 41)  How can I highlight text in the Text widget?
  84. 42)  How can I select all of the text in a widget programmatically?
  85. 43)  How can I change colours of text in the Text widget?
  86. 44)  How can I change the font of text in the Text widget?
  87. 45)  Is there an emacs binding for the text widget?
  88. 46)  How can I use a file as the text source for a Text widget?
  89. 47)  How can put Text in overstrike mode instead of insert?
  90. 48)  How can I make the Delete key do a backspace?
  91. 49)  TOPIC: LIST WIDGET
  92. 50)  Should I create an XmList widget as a child of automatic  
  93.      XmScrolledWindow or use the XmCreateScrolledList() convenience function?
  94. 51)  How do I best put a new set of items into a list?
  95. 52)  Can I have strings with different fonts in a list?
  96. 53)  Can I get a bitmap to show in a list item like I can in a Label?
  97. 54)  Can I have items with different colours in a list?
  98. 55)  Can I grey out an item in a list?
  99. 56)  Can I have multi-line items in a list?
  100. 57)  How can I tell the position of selected items in a list?
  101. 58)  TOPIC: FILE SELECTION BOX WIDGET
  102. 59)  What is libPW.a and do I need it?
  103. 60)  What are these compile errors: Undefined symbol _regcmp and _regex?
  104. 61)  What's wrong with the Motif 1.0 File Selection Box?
  105. 62)  TOPIC: FORM WIDGET
  106. 63)  Why don't labels in a Form resize when the label is changed?
  107. 64)  How can I center a widget in a form?
  108. 65)  How do I line up two columns of widgets of different types?
  109. 66)  TOPIC: PUSHBUTTON WIDGET
  110. 67)  Why can't I use accelerators on buttons not in a menu?
  111. 68)  TOPIC: LABEL WIDGET
  112. 69)  How can I align the text in a label (button, etc) widget?
  113. 70)  Why doesn't label alignment work in a RowColumn?
  114. 71)  How can I set a multiline label?
  115. 72)  How can I have a vertical label?
  116. 73)  How can I have a Pixmap in a Label?
  117. 74)  TOPIC: DRAWING AREA WIDGET
  118. 75)  How can I send an expose event to a Drawing Area widget?
  119. 76)  How can I know when a DrawingArea has been resized?
  120. 77)  TOPIC: MENUS
  121. 78)  What can I put inside a menu bar?
  122. 79)  Can I have a cascade button without a submenu in a pulldown menu?
  123. 80)  Should I have a cascade button without a submenu in a pulldown menu?
  124. 81)  What is the best way to create popup menus?
  125. 82)  How do popup menus work?
  126. 83)  Should I use translation tables or actions for popup menus?
  127. 84)  What are the known bugs in popup menus?
  128. 85)  Can I have multiple popup menus on the same widget?
  129. 86)  TOPIC: INPUT FOCUS
  130. 87)  How can I specify the widget that should have the keyboard focus  when  my
  131.      application starts up?
  132. 88)  How can I direct the keyboard input to a particular widget?
  133. 89)  How can I have a modal dialog which has to be answered before the  
  134.      application can continue?
  135. 90)  TOPIC: MEMORY AND SPEED
  136. 91)  When can I free data structures passed to or retrieved from Motif?
  137. 92)  Why does my application grow in size?
  138. 93)  Why does my application take a long time to start up?
  139. 94)  My application is running too slowly. How can I speed it up?
  140. 95)  Why is my application so huge?
  141. 96)  TOPIC: XMSTRING
  142. 97)  How can I get the Ascii text out of an XmString?
  143. 98)  When can XmStrings used as resources be freed?
  144. 99)  Why doesn't XmStringGetNextSegment() work properly?
  145. 100)  Why does using XmStringDraw cause a Bad Font error?
  146. 101)  TOPIC: DIALOGS
  147. 102)  How do I stop my dialog disappearing when I press the help button?
  148. 103)  How do I make my own dialog?
  149. 104)  How come the title bars for my dialogs now have  "_popup"  or  
  150.       "<-popup" concatenated onto the widget name?
  151. 105)  How can I force a dialog window to display?
  152. 106)  How can I control placement of a popup widget?
  153. 107)  TOPIC: LANGUAGE BINDINGS
  154. 108)* Is there a C++ binding for Motif?
  155. 109)  How can I have a C++ member function in a callback?
  156. 110)  Is there a Common Lisp binding for Motif?
  157. 111)* Is there an Ada binding for Motif?
  158. 112)  Is there a Poplog binding for Motif?
  159. 113)  TOPIC: SPECIFIC PLATFORMS
  160. 114)  Is it easy to build Motif for a Sun?
  161. 115)  How do I build Motif 1.2.2 on Solaris 2.1 with Sun C?
  162. 116)  What compile errors/warnings might I get in both Sun 3 and Sun 4?
  163. 117)  On a Sun 3, what are the mwm startup error messages about?
  164. 118)  Are there problems making shared libraries on a Sun?
  165. 119)  The OpenWindows server hangs when I popup a menu with Button 3.
  166. 120)  Has anyone made shared libraries on an IBM RS/6000?
  167. 121)  What is the error  "Unaligned access in XmString" under Ultrix?
  168. 122)  TOPIC: KEYSYMS
  169. 123)  What is causing the messages "unknown keysym osfDown..."?
  170. 124)  What happens if I can't install Motif Keysyms?
  171. 125)  Why has OSF introduced Keysyms into Motif 1.1?
  172. 126)  TOPIC: ICONS
  173. 127)  How can I keep track of changes to iconic/normal window state?
  174. 128)  How can I check if my application has come up iconic?
  175. 129)  How can I start my application in iconic state?
  176. 130)  How can an application iconify itself?
  177. 131)  How can an application de-iconify itself?
  178. 132)  TOPIC: MISCELLANEOUS
  179. 133)+ How do I controll the repeat rate on a SUN keyboard ??
  180. 134)  How can I identify the children of a manager widget?
  181. 135)  How do I tell if a scrolled window's scrollbars are visible?
  182. 136)  How can I programatically scroll a XmScrolledWindow in XmAUTOMATIC mode?
  183. 137)  What functions can an application use to change the size or position  
  184.       of a widget?
  185. 138)  What widgets should I use to get the look of push buttons, but
  186. 139)+ How do I obtain the size of a unmanaged shell widget?
  187. 140)  Can  I  use  XtAddTimeOut(),  XtAddWorkProc(),  and  XtAddInput()  
  188.       with XtAppMainLoop()?
  189. 141)  Why does XtGetValues() XmNx and XmNwidth return extremely large values.
  190. 142)  Can I specify callback functions in resource files?
  191. 143)  How do I specify a search path for ".uid" files?
  192. 144)  XtGetValues() on XmNx and XmNy of my top level shell  don't  return  
  193.       the correct root window coordinates.  How do I compute these?
  194. 145)  Can I use XmGetPixmap() with widgets that have non-default visual types?
  195. 146)  How can I determine the item selected in a option menu or a RadioBox?
  196. 147)  What is the matter with Frame in Motif 1.2?
  197. 148)  What is IMUG and how do I join it?
  198. 149)  What is the X Professional Organization
  199. 150)  How do I set the title of a top level window?
  200. 151)  Can I use editres with Motif?
  201. 152)  How can I put decorations on transient windows using olwm?
  202. 153)  Why does an augment translation appear to act as replace for some 
  203.       widgets?
  204. 154)  How do you "grey" out a widget so that it cannot be activated?
  205. 155)  Why doesn't the Help callback work on some widgets?
  206. 156)  Where can I get a Table widget?
  207. 157)  Has anyone done a bar graph widget?
  208. 158)  Does anyone know of a source code of a graph widget
  209. 159)+ Is there a help system available, such as in Windows 3?
  210. 160)  Can I specify a widget in a resource file?
  211. 161)  Why are only some of my translations are being installed?
  212. 162)  Where can I get the PanHandler code?
  213. 163)  What are these passive grab warnings?
  214. 164)  How do I have more buttons than three in a box?
  215. 165)  How do I create a "busy working cursor"?
  216. 166)  Can I use the hourglass that mwm uses?
  217. 167)  What order should the libraries be linked in?
  218. 168)  How do I use xmkmf for Motif clients?
  219. 169)  How do I make context sensitive help?
  220. 170)  How do I debug a modal interaction?
  221. 171)+ How can I disable Drag and Drop in my Motif 1.2 client ?
  222. 172)  Where can I get info on the Motif drag and drop protocol?
  223. 173)  TOPIC: ACKNOWLEDGEMENTS
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237. If you have suggestions or corrections for any of these answers or any 
  238. additional information, please send them directly to dealy@kong.gsfc.nasa.gov;
  239. the information will be included in the next revision (or possibly the one 
  240. after that; thanks for the many suggestions which haven't been incorporated 
  241. yet).  The answers in this iteration are acknowledged to be partial.
  242.  
  243. This posting is intended to be distributed at approximately the beginning of 
  244. each month.
  245.  
  246. The information contained herein has been gathered from a variety of sources. In
  247. many cases attribution has been lost; if you would like to claim responsibility
  248. for a particular item, please let us know. 
  249.  
  250. Conventions used below: telephone numbers tend to be Bell-system unless 
  251. otherwise noted; prices on items are not included.
  252. copyright 1993 b.dealy
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260. -----------------------------------------------------------------------------
  261. Subject:  0)* TOPIC: WHAT ARE OTHER RELEVANT NEWSGROUPS?
  262.  
  263. [Last modified: Feb 93]
  264.  
  265. Answer: This newsgroup is comp.windows.x.motif.
  266.  
  267. The nearest related group is comp.windows.x.  It also maintains an FAQ, which
  268. deals in all sorts of X, Xlib and Xt questions. Look there for answers to
  269. questions such as "How do I get a screendump of my application?", "where do I
  270. get X11R4,X11R5, X11R6", etc.  Other groups which may have relevant
  271. information are comp.windows.x.pex, comp.windows.x.apps,
  272. comp.windows.x.intrinsics, comp.windows.news, comp.windows.misc and
  273. comp.windows.open-look.  The intrinsics and open-look groups also have an FAQ.
  274.  
  275. The newsgroup news.answers contains *lots* of FAQs (including this one).  Look
  276. there for lots of info on everything.
  277.  
  278. -----------------------------------------------------------------------------
  279. Subject:  1)  TOPIC: FTP ARCHIVES
  280.  
  281. -----------------------------------------------------------------------------
  282. Subject:  2)  Is the FAQ list available for FTP anywhere?
  283.  
  284. [Last modified: Dec 93]
  285.  
  286. Answer: A number of FAQ's (including this one) are available for anonymous ftp
  287. at rtfm.mit.edu, under the directory pub/usenet.  (Motif is under
  288. pub/usenet/comp.windows.x.motif and also under
  289. pub/usenet/comp/windows/x/motif) There is also a mail server called mail-
  290. server@rtfm.mit.edu.  To retrieve a file send mail to the server with a
  291. subject or body similar to
  292.  
  293.         send usenet/comp.windows.x.motif/Motif_FAQ_(Part_1_of_5).Z
  294.  
  295. This service is looked after by Jonathan Kamens (jik@rtfm.mit.edu).
  296.  
  297. It has also been placed in contrib/Motif-FAQ at
  298. ftp://ftp.x.org/contrib/Motif-FAQ
  299.  
  300. This files are also accessible from WAIS (Wide Area Information System) under
  301. UC-Motif-FAQ, allowing keyword-based searches of the FAQ.  ---------
  302. --------------------------------------------------------------------
  303. Subject:  3)+ Is this FAQ accessible via WWW?
  304.  
  305. [Last modified: Dec 93]
  306.  
  307. Answer: A simple version of the FAQ has been htmlized on news.answers But a
  308. more in-depth restructuring is under way and should be available soon at a web
  309. server near you.
  310.  
  311. -----------------------------------------------------------------------------
  312. Subject:  4)  Is this newsgroup accessible via email?
  313.  
  314. [Last modified: April 93]
  315.  
  316. Answer: An email link is maintained by Brian Dealy.  To join, send mail to
  317. motif-request@lobo.gsfc.nasa.gov.
  318.  
  319. -----------------------------------------------------------------------------
  320. Subject:  5)  Is this newsgroup archived?
  321.  
  322. [Last modified: November 1992]
  323.  
  324. Answer: The newsgroup files from August 1991 are available from
  325. csc.canberra.edu.au (137.92.1.1) by anonymous ftp.  They are in the directory
  326. /pub/motif/comp.windows.x.motif.
  327.  
  328. These files are also accessible from WAIS (Wide Area Information System) under
  329. comp.windows.x.motif, allowing keyword-based searches of the newsgroup
  330. articles (this time on machine services.canberra.edu.au (137.92.1.12)).
  331.  
  332. -----------------------------------------------------------------------------
  333. Subject:  6)  Is the mail list motif-talk archived?
  334.  
  335. Answer: If you have purchased support from OSF then you have access to their
  336. archive server for motif-talk.
  337.  
  338. -----------------------------------------------------------------------------
  339. Subject:  7)  TOPIC: OSF AND MOTIF
  340.  
  341. -----------------------------------------------------------------------------
  342. Subject:  8)  Because of COSE, is Motif now in the public domain?
  343.  
  344. Answer: The *specification* for Motif is no longer controlled by OSF, but by
  345. X/Open.  This does not affect the *implementation*. The implementation is
  346. still in the hands of OSF, and will not be released into the public domain.
  347. So no, the OSF source code will still only be available to those who buy a
  348. source code license from OSF.
  349.  
  350. The specification does not include UIL or obsolete features (ie 1.0 bugs in
  351. design), but these will continue to be supported by the OSF code.
  352.  
  353. -----------------------------------------------------------------------------
  354. Subject:  9)* What versions of Motif are there?
  355. [Last modified: March 93]
  356.  
  357. Answer: Motif 1.0 is based on the R3 toolkit.  There are patch releases to
  358. 1.0: 1.0.1, 1.0.A, 1.0.2 and 1.0.3, 1.0.4, 1.0.5. 1.0.A was a fairly major
  359. patch, as it involved a complete re-engineering of UIL and Mrm.  Almost
  360. everyone who has 1.0.x has either 1.0.A or 1.0.3.
  361.  
  362. Motif 1.1 is based on the R4 toolkit.  The intial version was Motif 1.1.0.
  363. Motif 1.1.1 has been released as a patch to licensees with Full Support or
  364. Technical Update service.  Motif 1.1.2 is a patch release which contains the
  365. necessary changes to fix over 80 bugs reported against Motif. It is available
  366. to support contract holders (including both full support and update service).
  367. The 1.1.3 release fixed a further 150 bugs and was available from August 1991
  368. to support contract holders (including both full support and update service).
  369. 1.1.4 offers X11R5 support, but is not an X11R5 product.  1.1.5 was released
  370. in June 92 to licensees who hold a Motif Full Support or Update Support
  371. contract
  372.  
  373. Motif 1.2.0 was released in April 1992 and is based on the X11R5 toolkit.  It
  374. offers increased compatibility with international standards,  PC-style
  375. behavior and binary compatibility with OSF/Motif 1.1 applications.  New
  376. features include drag-and-drop, tear- off menus, toolkit enhancements and new
  377. documentation.  toolkit.  The code is totally ANSI C.  OSF distributes a 10
  378. pages sheet entitled "OSF/Motif R1.1 to R1.2: detailed overview of changes",
  379. which is available from OSF Motif direct channels.  (617-621-7300 or email
  380. direct@osf.org)
  381.  
  382. Motif 1.2.1 was released September 92.  Due to an optimisation from 1.2.0 to
  383. 1.2.1 object code compiled under 1.2.1 (that is, using 1.2.1 header files)
  384. will not link with 1.2.0 libraries (and, very probably, clients that use
  385. shared libraries and are linked against 1.2.1 won't startup against 1.2).
  386.  
  387. Motif 1.2.2 was released March 93.  This release contains over 250 bug fixes,
  388. improved text, drag-and-drop features and has less than one reported defect
  389. per 1000 lines of code.
  390.  
  391. from dbrooks@osf.org Motif 1.2.3 was released on September 13, 1993.  The
  392. defect density is measured at < 0.8 known reports per thousand lines.  In this
  393. release, we have paid particular attention to memory leaks, and have improved
  394. drag-and-drop performance greatly.
  395.  
  396.  
  397. -----------------------------------------------------------------------------
  398. Subject: 10)* Where can I get Motif?
  399.  
  400. [Last modified: APR 94]
  401.  
  402. Answer:
  403.     Various hardware vendors produce developer's toolkits of binaries, header
  404. files, and documentation; check your hardware vendor, particularly if that
  405. vendor is an OSF member. Systems known to be shipping now: HP (sans UIL),
  406. Apollo (sans UIL), SCO, ICS, Mips (RISCwindows=X11R3 + full Motif), IBM, Data
  407. General for AViioNs (includes UIL), Bull (?), Concurrent Computer Corporation
  408. 5000, 6000, 8000 series machines, Convex, Sequent.
  409.  
  410.     In addition, independent binary vendors produce Motif toolkits .
  411.  
  412. [An FAQ is for "personal opinions" on these toolkits.  I don't think it is
  413. appropriate to give such opinions through this particular posting, so I
  414. haven't included any.]
  415.  
  416. Integrated Computer Solutions, Inc. (ICS) 201 Broadway, Cambridge, MA  02139
  417. USA info@ics.com   617/621-0060
  418.  
  419. ICS provides binary distributions of Motif for Sun platforms.  Other platforms
  420. are available as well, call or send mail for current info.  ICS also provides
  421. in-depth programming support for Motif and additional tools such as Builder
  422. Xcessory, a Motif interface builder, and the Widget Databook, a source for
  423. third party, commercially available and supported widgets, class libraries,
  424. and subsystems.
  425.  
  426. Quest (408-496-1900) sells kits for Suns, as well;
  427.  
  428. IXI (+44 223 236 555) offers kits for Sun3         (SunOS 3.5 or later, and
  429. Sun4         (SunOS 4.0.1 or later).         (Solaris 2.1 or later ( both
  430. SPARC  and Intel ))         ( both M1.1.5 and Motif 1.2.2 for SPARC, Motif
  431. 1.2.2 for Intel ).
  432.  
  433. Sun Microsystems is now shipping a version of Motif also.
  434.  
  435. NSL (+33 (1) 43 36 77 50; requests@nsl.fr) offers kits for the Sun 3 and Sun
  436. 4.
  437.  
  438.  
  439. In Australia, Information Technology Consultants Pty Ltd has Motif 1.1.2 for
  440. Sun Sparc 4.1 ( phone on (02) 360 6999, fax on (02) 360 6695 or e-mail to
  441. motif@itcsyd.itc.oz.au)
  442.  
  443. SILOGIC (+33 61.57.95.95), 78 chemin des Sept Deniers - 31200 TOULOUSE FRANCE
  444. sells Motif 1.1 and 1.2 on Sun4 machines. They also provide customers with
  445. Motif maintenance and support, and do consulting on the X window System at
  446. large, including software development.
  447.  
  448. METRO LINK INC., has Motif 1.2.3 and Motif 1.2.2 Runtime and Development
  449. packages available for a variety of operating systems.  All versions ship with
  450. shared library version of libXm.  Linux version includes free O'Reilly volume
  451. and FTP shipping option.  Send mail to:
  452.  
  453. Motif 1.2.3 (available Dec. 1, 1993)
  454.     Linux 0.99, Solaris 2.x (SPARC), SunOS 4.1.x      --->  $199.00
  455.     Solaris 2.1 (x86)                                 --->  $299.00
  456.  
  457. Motif 1.2.2
  458.     Linux 0.99, Solaris 2.x (SPARC), SunOS 4.1.x      --->  $199.00
  459.     QNX, SVR3, SVR4.[012], SCO, UnixWare, SINIX,
  460.     LynxOS, Venix, ISC, NCR SVR4 MP                   --->  Under $299.00
  461.  
  462. Metro Link Incorporated.  2213 W. McNab Rd. Pompano Beach,  Florida  33069
  463. Voice: +1.305.970.7353x412  Fax: +1.305.970.7351  Email: ken@metrolink.com
  464.  
  465.  
  466.  
  467.  
  468. BIM (Fax : +32(2)759.47.95) offer Motif 1.1 for Sun-3, Sun-4, Sun-386i.
  469. Includes shared libraries.
  470.  
  471. Metrolink Inc. (+1-305-566-9586, sales@metrolink.com; in Europe contact ADNT,
  472. (33 1) 3956 5333) ships an implementation of X11R4 and Motif 1.1 for several
  473. 386 systems.
  474.  
  475.     An OSF/Motif source license must be obtained from OSF before source can be
  476. obtained from the Open Software Foundation. Call the Direct Channel Desk at
  477. OSF at 617-621-7300 or email direct@osf.org for ordering information.
  478.  
  479. Bluestone offers Motif for $99.  Bluestone's  MWM is the compiled version of
  480. OSF/ Motif for Sun/SPARC. It is plain vanilla Motif based on X11 and Xt
  481. Intrinsics.  There is no license manager.  Platforms: Sun/OS 4.1+ and Solaris
  482. V2.1,2.2. Contact: Bluestone @609-727-4600
  483.  
  484. In addition to the full Motif source, "option C" allows you to purchase source
  485. for the window manager mwm to run on X terminals.
  486.  
  487.  
  488. -----------------------------------------------------------------------------
  489. Subject: 11)  Is there a list of Motif bugs?
  490.  
  491. Answer: With each patch release of Motif shipped, there is a list of known
  492. bugs provided.  The filename on the tape is "./OPENBUGS".  There is also a
  493. list of all the issues closed/resolved in that patch.  That is found as part
  494. of the "./README-1.1.n" (where n is the patch number) file.
  495.  
  496. These are the only OSF published lists.
  497.  
  498. No-one else seems to publish a list.
  499.  
  500.  
  501. -----------------------------------------------------------------------------
  502. Subject: 12)  Where can I get public domain Motif source?
  503.  
  504. Answer: You cannot.  Motif source is not publically available.
  505.  
  506.  
  507. -----------------------------------------------------------------------------
  508. Subject: 13)* Are the Motif examples publically available?
  509.  
  510. [Last modified: DEC 93]
  511.  
  512. Answer: OSF has produced a list of which of the example programs can be
  513. distributed. Call OSF Direct for a copy of it.  Most of the example programs
  514. have been freed from distribution limitations so should be available.
  515.  
  516. In addition to these, many programs on export.lcs.mit.edu in the contrib
  517. directory use Motif.  Source code posted to comp.sources.x often uses Motif.
  518.  
  519. The examples from Dan Heller's book are on export in
  520. /contrib/OReilly/motif/examples.tar.Z.  The examples from Thomas Berlages's
  521. book are on export in /contrib/berlage.motif.tar.Z The examples from Donald L.
  522. McMinds's book are on export in /contrib/mastering.motif.tar.Z The examples
  523. from Jan Newmarch's book are export in /contrib/newmarch.tar.Z The examples
  524. from Jerry Smith's book are on export in contrib/smith.motif.tar.Z
  525.  
  526. Also from a list maintained by: qizeng@acsu.buffalo.edu (Qi Y. Zeng) FTP sites
  527. for X/MOTIF source codes:
  528.  
  529.          ftp.uu.net
  530.                 published/brain.motif.tar.Z
  531.  
  532.          ftp.x.org
  533.                 contrib/young.C++.tar.Z
  534.  
  535.          ftp.x.org
  536.                 contrib/pwmxmpl.tar.Z
  537.  
  538.          ftp.x.org
  539.                 contrib/newmarch.tar.Z
  540.  
  541.          ora.com
  542.                 pub/examples/xresource
  543.  
  544.          skye.aiai.ed.ac.uk(192.41.104.6)
  545.                 pub/wxwin/wxwin150.tar.Z (UNIX)
  546.                 pub/wxwin/wxwin150.zip (PC)
  547.  
  548. -----------------------------------------------------------------------------
  549. Subject: 14)* Has anyone done a public domain Motif lookalike?
  550.  
  551. [Last modified: March 93]
  552.  
  553. Answer: Not yet.  The specification is available (AES), and the validation
  554. suite can be bought, but no-one has taken up the challenge.  There are some
  555. commercial lookalikes (Looking Glass and Neuron Data), but no workalikes.
  556.  
  557. Applications that follow the Style Guide might be certified Motif-compliant
  558. through the checklist process, even though they're not using OSF/Motif
  559. binaries.
  560.  
  561. Tcl/Tk is available for ftp from allspice.berkeley.edu, and although
  562. implemented without Xt, has a "strict Motif" mode.
  563.  
  564. Strom Sytems (18666 Redmond Way o-2118, Redmond, WA 98052-6725) have a Simple
  565. Toolkit for X-Windows (sic) that appears to follow the Style Guide even though
  566. it doesn't quite look like Motif.
  567.  
  568. MOOLIT is a USL product that can be runtime switched between the Sun Open Look
  569. and Motif appearance.  It is based on  OLIT 4i.
  570.  
  571. Interviews is a C++ based product with appearance similar to Motif.  A ftp-
  572. able version is on interviews.stanford.edu.  A commercial version is available
  573. as InterViews Plus.
  574.  
  575.  
  576. -----------------------------------------------------------------------------
  577. Subject: 15)  Does anyone from OSF pay attention to our questions/suggestions?
  578.  
  579. Answer: Yes, and they quite often post answers too. But they may not respond
  580. to *your* problem because they have other things to do as well.  This
  581. newsgroup is not run by OSF, and has no formal connection with OSF.  OSF is a
  582. member-driven company.  The membership (and anyone can be a member) provides
  583. the primary input for future development of Motif.
  584.  
  585. -----------------------------------------------------------------------------
  586. Subject: 16)  Does OSF have an application compliance validation service?
  587.  
  588. Answer: They have a checklist and a certification process which you can
  589. request from them.  Ask for the Level One Certification Checklist.  The
  590. process is one of self-certification.  It tests only the appearance and
  591. behavior of the application against Motif style.  The product will also be put
  592. in the OSF reference listing.  There's a one-time fee of $250.  According to
  593. the master license agreement, you can't use any OSF identifying mark unless
  594. you have done a certification.
  595.  
  596.  
  597. -----------------------------------------------------------------------------
  598. Subject: 17)  What is the motif-talk mailing list?
  599.  
  600. Answer: The motif-talk mailing list is only for those who have purchased a
  601. Motif source code license. You can be placed on this list by emailing to
  602. motif-talk-request@osf.org, citing your Company name and source license
  603. number.
  604.  
  605.  
  606.  
  607. -----------------------------------------------------------------------------
  608. Subject: 18)  What MIT patches do I use, and when do I use fix-osf?
  609.  
  610. Answer: The Motif 1.1.0 tape contains MIT patches 1-14. Apply these and any
  611. others you can get.  If your MIT patch level only goes up to fix-16, you also
  612. need to apply fix-osf.  Fix-osf was an emergency patch for a problem that
  613. existed when the Motif 1.1 tape was cut, The MIT fix-17 completely superseded
  614. osf-fix, so if you have applied fix-17 do not apply fix-osf.  The 1.1.1 tape
  615. contains MIT fixes 15-18, as well as an OSF-developed fix that deals with a
  616. subtle bug in the Selection mechanism of the Intrinsics.  Most people will
  617. have fix-15 to 18 by now; if you don't have them:
  618.  
  619.         Back out fix-osf if you have applied it
  620.         Apply fix-15 to 18
  621.         Apply fix-osf-1.1.1
  622.  
  623. The Selection fix was submitted to MIT, who came up with a different fix.  It
  624. will not be made into an R4 fix but should be in R5. The MIT fix was posted to
  625. motif-talk.
  626.  
  627.  
  628. -----------------------------------------------------------------------------
  629. Subject: 19)  How does Motif work with X11R5?
  630.  
  631. Answer: Motif 1.1.X is only intended to be built with X11R4.  Motif 1.2.X is
  632. for X11R5.  however, Motif 1.1.4 has been set to also work with X11R5.
  633.  
  634. For Motif 1.1.1, 1.1.2 and 1.1.3 you will need to compile Xlib and Xt with a
  635. MOTIFBC flag set to YES (page 8, section 3.3 of the R5 release notes), or
  636. you'll also have a link problem (LowerCase) and a fatal run time problem
  637. (XContext manager).  If your applications come up with "Unknown keysym name:
  638. osfActivate" errors, check the variable ProjectRoot. The name
  639. /$PROJECTROOT/lib/XKeysymDB will have been wired into your Xlib.
  640.  
  641. In Motif 1.1.0, XtCallCallback uses NULL as the first argument instead of a
  642. widget ID. This was ok under R4, but must be changed in the source for R5. It
  643. was changed by OSF from Motif 1.1.1 onward.
  644.  
  645. Mrm won't work at all (can't link since it uses an X private variable that has
  646. disappeared in R5).  Thre is an MIT patch that may fix this??  [I confess
  647. ignorance of Mrm and UIL].
  648.  
  649. -----------------------------------------------------------------------------
  650. Subject: 20)* How can I find which version of Motif I have?
  651.  
  652. [Last modified: October 93]
  653.  
  654. Answer: The macro XmVERSION gives you the version number.  The macro
  655. XmREVISION gives you the major revision number.  The macro XmVersion combines
  656. these e.g. a value of 1002 is Motif 1.2.
  657.  
  658. To find the minor revision number is not easy.  From Motif 1.1.3 onwards, try
  659. this:
  660.  
  661.    'strings `which mwm` | grep OSF'.
  662.  
  663. to get the full version number e.g. 1.1.3.
  664.  
  665. In Motif 1.2, the macro XmUPDATE_LEVEL was added to give the minor revision
  666. number.
  667.  
  668. + ( above also known as the patch level).  + In addition there was a macro
  669. string added,  XmVERSION_STRING which has all + the above info in a char
  670. string.
  671.  
  672. + grepping through a strings of libXm.a for OSF can also sometime give +
  673. something useful.
  674.  
  675. Version X11R6 is due out in spring of 1994 (april 15?)
  676.  
  677. thanks to hops@x.co.uk Mike Hopkirk
  678.  
  679. -----------------------------------------------------------------------------
  680. Subject: 21)  TOPIC: LITERATURE
  681.  
  682. -----------------------------------------------------------------------------
  683. Subject: 22)* What books should I read or do I need to program using Motif?
  684.  
  685. [Last modified: April 93]
  686.  
  687. Answer: Ken Lee of the DEC Western Software Laboratory (klee@wsl.dec.com)
  688. regularly posts to comp.windows.x and ba.windows.x a list of reference books
  689. and articles on X and X programming.  In FAQ comp.windows.x an extract of his
  690. list appears. Specifically for Motif programming, though:
  691.  
  692. OSF/Motif Programmers Guide, Prentice-Hall ISBN 13-640525-8 (Motif 1.0), ISBN
  693. 0-13-640681-5 (Motif 1.1), ISBN 0-13-643107-0 (Motif 1.2) (NB: This makes use
  694. of the demo programs that you get with a Motif source license.  The programs
  695. are not included and may or may not be available on your system.)
  696.  
  697. OSF/Motif Programmers Reference Manual, Prentice-Hall ISBN 13-640517-17 (Motif
  698. 1.0),
  699.  ISBN 0-13-640616-5 (Motif 1.1), ISBN 0-13-643115-1 (Motif 1.2) You will need
  700. this for the system calls.
  701.  
  702. OSF/Motif Style Guide, Prentice-Hall 13-640491-X (Motif 1.0), ISBN 0-13-
  703. 640673-4 (Motif 1.1), ISBN 13-643123-2 (Motif 1.2) You will need this to get
  704. some idea of how to write programs with the correct `look and feel'.
  705.  
  706. You should read at least one of the the non-OSF books on Motif:
  707.  
  708. Sebern, Mark "Building OSF/Motif Applications: A Practical Introduction". The
  709. ISBN is 0-13-122409-3. Prentice-Hall.
  710.  
  711. The book uses a large, realistic Motif application (a program to make slides
  712. for presentations) to demonstrate the use of Motif features. Both UIL and
  713. toolkit calls are discussed, though UIL is featured, both in the examples and
  714. in a reference chapter.
  715.  
  716. Young, Doug. "The X Window System: Applications and Programming with Xt (Motif
  717. Version)," Prentice Hall, 1989 (ISBN 0-13-497074-8). The excellent tutorial "X
  718. Window Systems Programming and Applications with Xt," (ISBN 0-13-972167-3)
  719. updated for Motif.
  720.  
  721. Marshall Brain at brain@adm.csc.ncsu.edu posted a set of simple and useful
  722. Motif tutorials.
  723.  
  724. Berlage, Thomas Berlage, OSF/Motif: Concepts and Programming, Addison-Wesley,
  725. UK, 1991. ISBN 0-201-55792-4.
  726.  
  727. Johnson, Eric F. and Kevin Reichard, Power Programming Motif, MIS: Press,
  728. Portland, OR, 1991. ISBN 1-55828-059-6. Book with disk, ISBN 1-55828-061-8.
  729.  
  730. Ferguson, Paula M, The Motif Reference Manual, Volume 6B of the O'Reilly
  731. series on X.  This is the new volume of a two volume set on Motif programming.
  732. ISBN 1-56592-038-4 (Motif 1.2)  (Volume 6A is expected to ship soon)
  733.  
  734. Barkakati, Nabajyoti, X Window System Programming, SAMS. ISBN 0-672-22750-9.
  735. This contains a section on Motif.
  736.  
  737. Smith, Jerry, Designing X Clients with Xt/Motif, ISBN 1-55860-255-0 Morgan
  738. Kaufmann Publishers This adopts a higher-level approach to many of the objects
  739. that commonly occur in Motif but are not in the Motif API.
  740.  
  741.  
  742. Newmarch, Jan, The X Window System and Motif - A Fast Track Approach.
  743. Addison-Wesley, ISBN 0-201-53931-4.
  744.  
  745. You will also need books and references on Xt such as:
  746.  
  747. Asente, Paul J., and Swick, Ralph R., "X Window System Toolkit, The Complete
  748. Programmer's Guide and Specification", Digital Press, 1990.  The bible on Xt.
  749. A treasury of information, excellent and invaluable.  Distributed by Digital
  750. Press, ISBN 1-55558-051-3, order number EY-E757E-DP; and by Prentice- Hall,
  751. ISBN 0-13-972191-6.
  752.  
  753. Nye, Adrian, and Tim O'Reilly, "X Toolkit Programming Manual, Volume 4,"
  754. O'Reilly and Associates, 1989. The folks at O'Reilly give their comprehensive
  755. treatment to programming with the MIT Intrinsics; R4 versions are now
  756. available, as is a Motif 1.1 version (Volume 4M).
  757.  
  758. Dan Heller's version of the Motif Programming Manual is still a widely used
  759. and useful book. It is being replaced by Volume 6a and 6b but is a very useful
  760. resource. Volume 6, Oreilly and Associates, Motif Edition.
  761.  
  762. Flanagan, David, ed.,  "X Toolkit Reference Manual, Volume 5," O'Reilly and
  763. Associates, 1992a, Third Edition. A professional reference manual for the MIT
  764. X11R4 and X11R5 Xt.
  765.  
  766. Books and reference manuals on Xlib may also be useful.
  767.  
  768. If you want to learn about UIL, look in the Motif Programmers's Guide.  This
  769. seems to be the only information.
  770.  
  771.  
  772. -----------------------------------------------------------------------------
  773. Subject: 23)  TOPIC: MWM
  774.  
  775. -----------------------------------------------------------------------------
  776. Subject: 24)  What is the difference between Motif and mwm?
  777.  
  778. Answer: mwm is a window manager. Motif itself is made up of four parts: a
  779. User-Interface Guideline, an API toolkit of `C' routines which helps in the
  780. building of applications which conform to the Guideline, the window manager
  781. mwm, and a language UIL which is designed to ease user interface development.
  782. In general mwm will run an application built with any X-windows API, and in
  783. general an application built using the Motif toolkit will run under any window
  784. manager.
  785.  
  786.  
  787. -----------------------------------------------------------------------------
  788. Subject: 25)  Does anyone have an alternative set of 3-D defaults for a
  789. monochrome screen?
  790.  
  791. Answer: This is obviously a matter of taste. Some alternatives suggested
  792. include
  793.  
  794. !Benjamin Schreiber, bs@osf.osf.org, bs@cs.brandeis.edu
  795. Mwm*foreground:                 black           ! Actually, when a window is
  796. Mwm*background:                 white           ! deactivated, the background
  797. Mwm*backgroundPixmap:           50_foreground   ! becomes white, insted of
  798. Mwm*topShadowPixmap:            white           ! 50% foreground (grey)
  799.  
  800. Mwm*activeForeground:           black
  801. Mwm*activeBackground:           white
  802. Mwm*activeBackgroundPixmap:     50_foreground
  803. Mwm*activeTopShadowPixmap:      white
  804.  
  805. Mwm*menu*backgroundPixmap:      background
  806. Mwm*menu*topShadowPixmap:       50_foreground
  807.  
  808. Mwm*title*foreground:                   black
  809. Mwm*title*background:                   white
  810. Mwm*title*backgroundPixmap:             white
  811. Mwm*title*topShadowPixmap:              50_foreground
  812. Mwm*title*activeForeground:             white
  813. Mwm*title*activeBackground:             black
  814. Mwm*title*activeBackgroundPixmap:       black
  815. Mwm*title*activeBottomShadowPixmap:     50_foreground
  816.  
  817. Mwm*feedback*backgroundPixmap:          white
  818.  
  819. or
  820.  
  821. ! From: tsang@isi.com (Kam C. Tsang)
  822. Mwm*background:                      White
  823. Mwm*activeBackground:                White
  824. Mwm*activeBackgroundPixmap:          25_foreground
  825. Mwm*foreground:                      Black
  826. Mwm*activeForeground:                Black
  827. Mwm*menu*background:                 white
  828. Mwm*menu*foreground:                 black
  829. xterm*Foreground:                    black
  830. xterm*Background:                    white
  831.  
  832.  
  833. or
  834.  
  835. ! From: ucsd.edu!usc!snorkelwacker!paperboy!yee  (Michael K. Yee)
  836. Mwm*cleanText:                          True
  837.  
  838. Mwm*activeBackground:           white
  839. Mwm*activeForeground:           black
  840. Mwm*background:                 white
  841. Mwm*foreground:                 black
  842.  
  843. Mwm*client*activeBackgroundPixmap:      50_foreground
  844. Mwm*client*activeTopShadowPixmap:       foreground
  845. Mwm*client*activeBottomShadowPixmap:    background
  846.  
  847. !Mwm*client*background:                 white
  848. !Mwm*client*foreground:                 black
  849. Mwm*client*backgroundPixmap:            75_foreground
  850. Mwm*client*topShadowPixmap:             foreground
  851. Mwm*client*bottomShadowPixmap:          background
  852.  
  853. !Mwm*feedback*background:               white
  854. !Mwm*feedback*foreground:               black
  855. Mwm*feedback*backgroundPixmap:          50_foreground
  856. !Mwm*feedback*topShadowPixmap:          25_foreground
  857. !Mwm*feedback*bottomShadowPixmap:       background
  858.  
  859. !Mwm*menu*background:                   white
  860. !Mwm*menu*foreground:                   black
  861. Mwm*menu*backgroundPixmap:              foreground
  862. !Mwm*menu*topShadowPixmap:              foreground
  863. !Mwm*menu*bottomShadowPixmap:           background
  864.  
  865. !Mwm*icon*background:                   white
  866. !Mwm*icon*foreground:                   black
  867. Mwm*icon*activeBackgroundPixmap:        50_foreground
  868. Mwm*icon*activeBottomShadowPixmap:      foreground
  869. Mwm*icon*backgroundPixmap:              75_foreground
  870.  
  871.  
  872.  
  873. -----------------------------------------------------------------------------
  874. Subject: 26)  How can I modify the Motif window manager decorations?
  875.  
  876. Answer: In resource files, use the window manager's client resource (which is
  877. the application) and the resource clientDecoration:
  878.  
  879. Mwm*XClock.clientDecoration:   none
  880.  
  881. turns off all clock decorations.  See the mwm(1) entry for other
  882. possibilities.
  883.  
  884. Programmatically, set the VendorShell resource XmNmwmDecorations to
  885. appropriate values: MWM_DECOR_NONE (or a bitwise or of values).
  886.  
  887. -----------------------------------------------------------------------------
  888. Subject: 27)  How can I turn off the Motif window manager functions from the
  889. system menu?
  890. [Last modified: October 92]
  891.  
  892. Answer: The user of an application can control functions in the system menu
  893. for an application using the mwm resource clientFunctions:
  894.  
  895.         mwm.application_name.clientFunctions: -resize -close
  896.  
  897. Note that mwm will have to be restarted after putting this in their resource
  898. database.
  899.  
  900.  
  901. Answer: The writer of an application can only remove items.  Be warned that
  902. your users will probably gnash their teeth, swear furiously at your product
  903. and stop using it if they discover that you have done this.  (Especially if
  904. you have removed the Close button, your application has hung and it has taken
  905. up all of memory and swap so it can't be killed.) Much better is to catch the
  906. action gracefully as in the next question.
  907.  
  908.         #include <Xm/MwmUtil.h>
  909.  
  910.         XtVaGetValues(shell, XmNmwmFunctions, &int_val, NULL);
  911.         int_val &= ~(MWM_FUNC_CLOSE | MWM_FUNC_ALL);
  912.         XtVaSetValues(shell, XmNmwmFunctions, int_val, NULL);
  913.  
  914.  
  915.  
  916. -----------------------------------------------------------------------------
  917. Subject: 28)  How can tell I if the user has selected the "Close" item on the
  918. system menu attached to the top-level shell?  I need to do some clean up
  919. before exiting.
  920.  
  921. [Last modified: May 93]
  922.  
  923. Answer:          This works with R4 Intrinsics
  924.  
  925.         #include <Xm/Protocols.h>
  926.  
  927.         void FinalCleanupCB(w, client_data, call_data)
  928.         Widget   w;
  929.         caddr_t  client_data, call_data;
  930.         {
  931.                 /* tidy up stuff here */
  932.                 ...
  933.                 /* exit if you want to */
  934.                 exit (0);
  935.         }
  936.  
  937.         main()
  938.         {
  939.                 Atom wm_delete_window;
  940.  
  941.                 ...
  942.                 XtRealizeWidget(toplevel);
  943.                 ...
  944.                 wm_delete_window =
  945.                         XmInternAtom(XtDisplay(toplevel),
  946.                                 "WM_DELETE_WINDOW", False);
  947.                 XmAddWMProtocolCallback(toplevel, wm_delete_window,
  948.                         FinalCleanupCB, NULL);
  949.                 XtMainLoop();
  950.         }
  951.  
  952. This will still kill the application.  To turn this behaviour off so that the
  953. application is not killed, set the shell resource XmNdeleteResponse to
  954. XmDO_NOTHING.  This means that users cannot kill your application via the
  955. system menu, and may be a bad thing.
  956.  
  957. If you are running R3, Bob Hays (bobhays@spss.com) has suggested this:
  958. "Trapping on the delete window atom does not work as I cannot force my action
  959. routine to the top of the action list for the activity desired, so the window
  960. manager kills my window anyway BEFORE I can do anything about it.  And, to
  961. make matters worse, the window manager (Motif in this case) tacks its atoms
  962. and handlers onto the window at some unknown point down the line after the
  963. creation of the shell widget as far as I can tell.  So....
  964.  
  965. I have a procedure as an action routine for ClientMessage.  Then, if I get a
  966. property change event on the window manager protocols, I then tack on
  967. WM_SAVE_YOURSELF.  If I get this request, I clean up (it seems to happen on
  968. WM_DELETE_WINDOW, BTW, if you remove WM_DELETE_WINDOW from the WM protocols
  969. atom) and exit.  Works great and is less filling overall:-)."
  970.  
  971.  
  972. -----------------------------------------------------------------------------
  973. Subject: 29)  Is there an mwm virtual desktop manager?
  974.  
  975. Answer: Peter E. Wagner (pew@cs.brown.edu): Imagine that your "desktop"
  976. extends beyond the view provided by your monitor.  A virtual window manager
  977. gives you access to the space beyond your viewport (i.e. your screen) by
  978. allowing you to move the viewport to other areas of the extended desktop.
  979.  
  980. The first one is Solbourne's swm, which spawned vtwm/tvtwm/olvwm.
  981.  
  982. David B. Lewis created one.  suresh@unipalm.co.uk has further developed it
  983. into the UniPalm product DOORS, which is only available as a source code
  984. extension to the MOTIF window manager.  The price of the source and unlimited
  985. right to distribute binaries is 10,000 pounds Sterling.  Alternately, source
  986. and right to use within one company is 2,000 pounds Sterling.  Contact Peter
  987. Dawe
  988.  
  989. Unipalm Limited                         Voice: +44 (0) 223 420002
  990. 216 The Science Park                    Fax:   +44 (0) 223 426868
  991. CAMBRIDGE
  992. CB4 4WA
  993.  
  994.  
  995.  
  996. An enhancement request for such an object has been filed with OSF.
  997.  
  998. -----------------------------------------------------------------------------
  999. Subject: 30)  Why does mwm 1.2 crash on startup?
  1000.  
  1001. [Last modified: March 93]
  1002.  
  1003. Answer: From David Brooks: The commonest cause of early mwm demise is as
  1004. follows:
  1005.  
  1006. - You, or someone, built Xlib in the default way using the Xsi
  1007.   internationalization functions.
  1008.  
  1009. - Your Xlib wasn't installed completely (or at all).
  1010.  
  1011. - Early on, mwm calls the function XmbTextListToTextProperty, which calls
  1012.   _XConvertMBToCT, which looks for the Xsi locale database, finds it
  1013.   missing, ignores this fact and tries to dereference zero.
  1014.  
  1015. The workaround is to find the database *somewhere*, and point the environment
  1016. variable XNLSPATH at it.  For example, in my personal X source tree:
  1017.  
  1018.         setenv XNLSPATH /home/X11r5src/mit/lib/nls/Xsi
  1019.  
  1020.  
  1021. -----------------------------------------------------------------------------
  1022. END OF PART ONE
  1023. -- 
  1024. ..........................
  1025.  
  1026.  
  1027.